package com.ruoyi.degree.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 院系管理对象 biz_schools_department
 * 
 * @author Polly
 * @date 2025-08-20
 */
public class BizSchoolsDepartment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 大学ID */
    private Long schoolId;

    /** 院系名称 */
    @Excel(name = "院系名称")
    private String departName;

    /** 排序 */
    private Long orderNum;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createdAt;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updatedAt;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date deletedAt;
    @Excel(name = "院校名称")
    private String schoolName;
    //用于导入数据
    @Excel(name = "培养计划")
    private String eduPlanName;

    public String getEduPlanName() {
        return eduPlanName;
    }

    public void setEduPlanName(String eduPlanName) {
        this.eduPlanName = eduPlanName;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public List<BizSchoolsProfessions> getProfessions() {
        return professions;
    }

    public void setProfessions(List<BizSchoolsProfessions> professions) {
        this.professions = professions;
    }

    private List<BizSchoolsProfessions> professions;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setSchoolId(Long schoolId) 
    {
        this.schoolId = schoolId;
    }

    public Long getSchoolId() 
    {
        return schoolId;
    }

    public void setDepartName(String departName) 
    {
        this.departName = departName;
    }

    public String getDepartName() 
    {
        return departName;
    }

    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    public void setDeletedAt(Date deletedAt) 
    {
        this.deletedAt = deletedAt;
    }

    public Date getDeletedAt() 
    {
        return deletedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("schoolId", getSchoolId())
            .append("departName", getDepartName())
            .append("orderNum", getOrderNum())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .append("deletedAt", getDeletedAt())
            .toString();
    }
}
